

#ifndef _SHELL_RESTITLES_MESSAGE_H_
#define _SHELL_RESTITLES_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include <vector>
//#include "TitleBean.h"
using namespace std;

class ResTitlesMessage : public Message
{
	public:
	ResTitlesMessage();
	~ResTitlesMessage();
	void reset();
	ResTitlesMessage* clone();
	static const int _ID;
	//玩家拥有的所有称号
	vector<TitleBean*> titles;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
